package de.gee.erep.server.xml;

import java.util.LinkedList;
import java.util.List;

import javax.xml.stream.XMLStreamException;
/**
 * @param <T> t
 */
public abstract class ErepParser<T> {
	/***/
	private final List<T> result = new LinkedList<T>();
	/**
	 * @throws XMLStreamException ex
	 */
	public abstract void parse() throws XMLStreamException;

	/**
	 * @return {@link List} list
	 */
	public final List<T> getResult() {
		return result;
	}
}
